package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cykj.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * statistics对象 biz_day_statistics
 *
 * @author weijianbo
 * @date 2024-05-05
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_day_statistics")
public class BizDayStatistics implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;

    /** $column.columnComment */
    private Long userId;

    /** 代理姓名 */
    @Excel(name = "代理姓名")
    private String userName;

    /** 分润钱包 */
    @Excel(name = "分润钱包")
    private BigDecimal profitAmount;

    /** 奖励钱包 */
    @Excel(name = "奖励钱包")
    private BigDecimal rewardAmount;

    /** 总钱包 */
    @Excel(name = "总钱包")
    private BigDecimal totalWalletAmount;

    @Excel(name = "统计时间")
    private String walletTime;

    /** 返现 */
    @Excel(name = "返现")
    private BigDecimal type1;

    /** 分润 */
    @Excel(name = "分润")
    private BigDecimal type2;

    /** 奖励 */
    @Excel(name = "奖励")
    private BigDecimal type3;

    /** 提现 */
    @Excel(name = "提现")
    private BigDecimal type4;

    /** 押金 */
    @Excel(name = "押金")
    private BigDecimal type5;

    /** 流量费 */
    @Excel(name = "流量费")
    private BigDecimal type6;

    /** 结算充值 */
    @Excel(name = "结算充值")
    private BigDecimal type7;

    /** 奖励充值 */
    @Excel(name = "奖励充值")
    private BigDecimal type8;

    /** 昨日累计 */
    @Excel(name = "分润累计")
    private BigDecimal totalType;

    /** 日期 */
    @Excel(name = "分润时间")
    private String typeTime;

    /** 备用字段 */
    private BigDecimal var1;

    /** $column.columnComment */
    private String var2;

    /** $column.columnComment */
    private String var3;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
